ubuntu-resolute
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)
committerMatthias Klose <doko@debian.org>
Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)
commit 112ffe7c621e8bf145c5c5926e36f3af9e0fd045
Author: Sylvestre Ledru <sylvestre@debian.org>
Date:   Tue Apr 22 11:50:58 2025 +0200

    Add support of the next Ubuntu (Ubuntu 25.10 - Questing Quokka)

Gbp-Pq: Name ubuntu-resolute.patch

clang/include/clang/Driver/Distro.h
clang/lib/Driver/Distro.cpp

index 9f27c2baaeb477c18e3bd5f71eac6628e7c40886..b8341856824fcad09b18a959f82d6c517f693149 100644 (file)
@@ -82,6 +82,7 @@ public:
     UbuntuOracular,
     UbuntuPlucky,
     UbuntuQuesting,
+    UbuntuResolute,
     UnknownDistro
   };
 
@@ -133,7 +134,7 @@ public:
   }
 
   bool IsUbuntu() const {
-    return DistroVal >= UbuntuHardy && DistroVal <= UbuntuQuesting;
+    return DistroVal >= UbuntuHardy && DistroVal <= UbuntuResolute;
   }
 
   bool IsAlpineLinux() const { return DistroVal == AlpineLinux; }
index 2a35fd033db9b4b5dbb75bebdc1bf009293f20c4..ccf47efb1afcac8e7e185e041c509169e2d3f280 100644 (file)
@@ -98,6 +98,7 @@ static Distro::DistroType DetectLsbRelease(llvm::vfs::FileSystem &VFS) {
                     .Case("oracular", Distro::UbuntuOracular)
                     .Case("plucky", Distro::UbuntuPlucky)
                     .Case("questing", Distro::UbuntuQuesting)
+                    .Case("resolute", Distro::UbuntuResolute)
                     .Default(Distro::UnknownDistro);
   return Version;
 }